<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>login</title>
</head>
<body>
<div>
    <form action="/user/login" method="post">
        账号:<input type="text" name="username">
        <br>
        密码:<input type="password" name="psw">
        <br>
        <input type="submit" value="登录">
    </form>
</div>
<div>
    <p style="color: red">${error}</p>
</div>
<div>
    <a href="/register.jsp">注册</a>
</div>
</body>
</html>
